package com.ley.yikang.service;

import com.ley.yikang.entity.Doctor;

import java.util.List;

public interface DoctorService {
    //添加医生用户
    void addDoctor(Doctor doctor);

    //查找所有医生用户
    List<Doctor> findAll(String doctorName, String phone, Integer communityId);

    //查找医生用户
    Doctor findDoctor(String phone);

    //根据id查找医生用户
    Doctor findDoctorById(int id);

    //删除医生用户
    void delDoctor(int id);

    //修改医生用户信息
    void updateDoctor(Doctor doctor);

    //查找社区中的医生
    List<Doctor> getCommunityDoctor(int communityId);
}
